<html>
<head><meta charset="utf-8"><title>Disable the mergefunc only · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Disable.20the.20mergefunc.20only.html">Disable the mergefunc only</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="154096097"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Disable%20the%20mergefunc%20only/near/154096097" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Disable.20the.20mergefunc.20only.html#154096097">(Dec 31 2018 at 18:22)</a>:</h4>
<p><span class="user-mention" data-user-id="133224">@Nikita Popov</span> would you happen to remember if we added a way to enable or disable mergefunc or not?</p>



<a name="154096099"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Disable%20the%20mergefunc%20only/near/154096099" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Disable.20the.20mergefunc.20only.html#154096099">(Dec 31 2018 at 18:22)</a>:</h4>
<p>one of the tests I have sort-of desires it.</p>



<a name="154107190"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Disable%20the%20mergefunc%20only/near/154107190" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nikita Popov <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Disable.20the.20mergefunc.20only.html#154107190">(Dec 31 2018 at 23:58)</a>:</h4>
<p>As far as I know mergefunc is always enabled if it's available.</p>



<a name="154107259"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Disable%20the%20mergefunc%20only/near/154107259" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nikita Popov <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Disable.20the.20mergefunc.20only.html#154107259">(Jan 01 2019 at 00:00)</a>:</h4>
<p>Is this about codegen tests?</p>



<a name="154123169"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Disable%20the%20mergefunc%20only/near/154123169" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Disable.20the.20mergefunc.20only.html#154123169">(Jan 01 2019 at 09:29)</a>:</h4>
<p>yeah. I just ended up making functions different enough that they don’t get merged.</p>



<a name="154194003"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Disable%20the%20mergefunc%20only/near/154194003" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Disable.20the.20mergefunc.20only.html#154194003">(Jan 02 2019 at 19:07)</a>:</h4>
<p>this all reminds me that I wanted to investigate the limits of what LLVM mergefunc will do</p>



<a name="154194875"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Disable%20the%20mergefunc%20only/near/154194875" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Disable.20the.20mergefunc.20only.html#154194875">(Jan 02 2019 at 19:22)</a>:</h4>
<p>Well <a href="https://github.com/rust-lang/rust/pull/57268" target="_blank" title="https://github.com/rust-lang/rust/pull/57268">this</a> happened.</p>



<a name="154196337"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Disable%20the%20mergefunc%20only/near/154196337" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Disable.20the.20mergefunc.20only.html#154196337">(Jan 02 2019 at 19:45)</a>:</h4>
<p>That feels like it should be an LLVM fix instead.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>